package com.talkology.pilot.teacher.service;

import com.talkology.pilot.database.model.TeacherInfo;

import java.util.List;

/**
 * 服务类方法定义接口
 *
 * @author longjp
 * @since 2018-11-02
 */
public interface ITeacherInfoService {

    List<TeacherInfo> getAllByFilter(String type, Byte pronounce);

    TeacherInfo getInfo(Long index);

    void add(TeacherInfo record);

    void edit(TeacherInfo record);

    void delete(Long index);
}
